The Text-decoration property can do a lot of things, and we'll learn more about this property to implement more detailed styles.Text can have more decorationsFor example:AText-decoration:underline overline;}
You can see the content text-decoration
Definitions and usage
Text-decoration attributes are added to the text's adornments.
Note: The decorated color is set by the "Color" property.
Description
This property allows you to set an effect on the text, such as underlining. If the
First, CSS Property definition1. CSS Color Presentation method "Focus"RGB (red-green-blue 3 color channel strength value 0-255) RGB (0,0,0)RGBA (Alpha A is a transparency value of 0-1) Rgba (123,123,123,0)HslHsla (H: Hue, angle value on the color
An experiment was done:1 2 3 4 BaiDuTest.html5 6 - - - + Experiment - + I'm doing text-decoration experiment A at - - - - - in - The browser displays the results such as:Http://www.w3school.com.cn/css/css_text.asp mentions that
Definition and usageThe Text-decoration property specifies the adornment that is added to the text.Note: The decorated color is set by the "Color" property.DescriptionThis property allows you to set some kind of effect on text, such as underlining.
Text-decoration is a property of CSS that is decorated with an underscore, a middle line, an underscore, or no decoration on the text. The values are as follows:1, none: Do not decorate any line. The value is the default value. As shown below:
CSS Text properties Define the appearance of text.With text properties, you can change the color of the text, the spacing of characters, the alignment text, the decoration, the indentation of the text, and so on.Indent textIndents the first line of
In the previous article, I learned the CSS background. In this article, I will learn CSS text. The background and text are rendered to present the page content. The background is like a canvas, and the text is the text line we draw on the canvas.
css| Tutorial | style sheet
Text: CSS control text attributes mainly include the following four: Text-indent, Text-align, Text-decoration, Text-transform;
1. Text-align: Property text-align refers to the alignment of the text, which has left, right,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.